package com.example.entity;

public class WeightRecord {
    private int weightrecordid;//主键id
    private int userid;//关联用户id
    private String weight;//体重
    private String bodyfat;//体脂率
    private String createtime;//创建日期

    public int getWeightrecordid() {
        return weightrecordid;
    }

    public void setWeightrecordid(int weightrecordid) {
        this.weightrecordid = weightrecordid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getBodyfat() {
        return bodyfat;
    }

    public void setBodyfat(String bodyfat) {
        this.bodyfat = bodyfat;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "WeightRecord{" +
                "weightrecordid=" + weightrecordid +
                ", userid=" + userid +
                ", weight='" + weight + '\'' +
                ", bodyfat='" + bodyfat + '\'' +
                ", createtime='" + createtime + '\'' +
                '}';
    }
}
